﻿<UserControl x:Class="Toon.Controls.CharacterSheet"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d"
    xmlns:local="clr-namespace:Toon.Controls"
    FontFamily="{StaticResource PhoneFontFamilyNormal}"
    FontSize="{StaticResource PhoneFontSizeNormal}"
    Foreground="{StaticResource PhoneForegroundBrush}"
    d:DesignHeight="480" d:DesignWidth="480">

    <StackPanel x:Name="LayoutRoot" DataContext="{Binding CurrentCharacter}">

        <StackPanel>
            <StackPanel.Resources>
                <Style TargetType="local:LabeledTextBlock">
                    <Setter Property="LabelStyle">
                        <Setter.Value>
                            <Style TargetType="TextBlock">
                                <Setter Property="FontFamily" Value="Times New Roman"/>
                                <!--<Setter Property="FontSize" Value="20" />-->
                            </Style>
                        </Setter.Value>
                    </Setter>
                    <Setter Property="TextStyle">
                        <Setter.Value>
                            <Style TargetType="TextBlock">
                                <Setter Property="FontFamily" Value="Comic Sans MS"/>
                                <!--<Setter Property="FontSize" Value="16" />-->
                            </Style>
                        </Setter.Value>
                    </Setter>
                </Style>
            </StackPanel.Resources>

            <local:DetailRegion Click="Name_Click">
                <local:LabeledTextBlock Text="{Binding Name}" LabelText="Name:"/>
            </local:DetailRegion>

            <local:DetailRegion Click="Species_Click">
                <local:LabeledTextBlock Text="{Binding Species}" LabelText="Species:"/>
            </local:DetailRegion>

            <local:DetailRegion Click="NaturalEnemies_Click">
                <local:LabeledTextBlock Text="{Binding NaturalEnemies}" LabelText="Natural Enemies:"/>
            </local:DetailRegion>

            <local:DetailRegion Click="BeliefsAndGoals_Click">
                <local:LabeledTextBlock Text="{Binding BeliefsAndGoals}" LabelText="Beliefs &amp; Goals:"/>
            </local:DetailRegion>

            <local:DetailRegion Click="Occupation_Click">
                <local:LabeledTextBlock Text="{Binding Occupation}" LabelText="Occupation:"/>
            </local:DetailRegion>

            <local:LabeledTextBlock Text="{Binding Speed}" LabelText="Speed:"/>
        </StackPanel>

    </StackPanel>
</UserControl>
